<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <%
        pageContext.setAttribute("APP_PATH", request.getContextPath());
    	
    %>
  <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>     
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <link type="text/css" rel="stylesheet" media="all" href="${APP_PATH}/styles/global.css" />
  <link type="text/css" rel="stylesheet" media="all" href="${APP_PATH}/styles/global_color.css" />
<title>Insert title here</title>
</head>
<body class="index">
        <!--导航区域开始-->
        <div id="index_navi">
            <ul id="menu">
             <li><a href="${APP_PATH }/view/index.jsp" class="index_on"></a></li>
            <!-- 经RoleUpdateSer权限获取 -->
            <c:forEach items="${spower}" var="str">
            
            <c:choose>
            	<c:when test="3>2">
            		${str}
            	</c:when>
            
            </c:choose>
            
           <%System.out.println(session.getAttribute("spower")); %>
            	 <c:choose>
            		<c:when test="${fn:contains(str,1)}">
            			<li><a href="${APP_PATH }/roleInfo" class="role_off"></a></li>
            		</c:when>
            		<c:when test="${fn:contains(str,2)}">
            			 <li><a href="${APP_PATH }/adminListSer" class="admin_off"></a></li>
            		</c:when>
            		<c:when test="${fn:contains(str,3)}">
            			 <li><a href="${APP_PATH }/view/fee_list.jsp" class="fee_off"></a></li>
            		</c:when>
            		<c:when test="${fn:contains(str,4)}">
            			 <li><a href="${APP_PATH }/view/account_list.jsp" class="account_off"></a></li>
            		</c:when>
            		<c:when test="${fn:contains(str,5)}">
            			  <li><a href="${APP_PATH }/view/service_list.jsp" class="service_off"></a></li>
            		</c:when>
            		<c:when test="${fn:contains(str,6)}">
            			  <li><a href="${APP_PATH }/view/bill_list.jsp" class="bill_off"></a></li>
            		</c:when>
            		<c:when test="${fn:contains(str,7)}">
            	
            			 <li><a href="${APP_PATH }/view/report_list.jsp" class="report_off"></a></li>
            		</c:when>
            			
            
            </c:choose>
            </c:forEach>
           
               
                <li><a href="${APP_PATH }/view/user_info.jsp" class="information_off"></a></li>
                <li><a href="${APP_PATH }/view/user_modi_pwd.jsp" class="password_off"></a></li>
            
            </ul>
            
        </div>
</body>
</html>